package com.demo.bean.service.impl.banner;

import com.demo.bean.mapper.banner.BannerMapper;
import com.demo.bean.service.banner.BannerService;
import com.demo.common.entity.Banner;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 头部、中间轮播图
 * 作者：孙佳佳
 * 改bug：张佑威
 */
@Service
public class BannerServiceImpl implements BannerService {
    @Resource
    private BannerMapper bannerMapper;


    @Override
    public List<Banner> fallAllOne() {
        return bannerMapper.fallAllOne();
    }

    @Override
    public List<Banner> fallAllTwo() {
        return bannerMapper.fallAllTwo();
    }

    @Override
    public List<Banner> newsImgAll() {
        return null;
    }
}
